package com.sixth.volunteerservicesystem.mapper;


import com.sixth.volunteerservicesystem.domain.Users;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface BackendUserinfoMapper {
    // 返回志愿者人数
    public int findCountByMap(Map<String,Object> map);

    // 返回志愿者信息数据列表
    public List<Users> findListByMap(Map<String,Object> map);

    public void userinfoinset(Users user);

    public Users findByuserId(String userId);
}
